﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel

Namespace roncliProductions.LibWowArmory.Item.Info

    ''' <summary>
    ''' A class that encapsulates a spell that creates an item
    ''' </summary>
    ''' <remarks></remarks>
    Public Class SpellReagents
        Private rReagents As Collection(Of Reagent)

        ''' <summary>
        ''' The reagents required to cast the spell
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public ReadOnly Property Reagents As Collection(Of Reagent)
            Get
                Return rReagents
            End Get
        End Property

        ''' <summary>
        ''' The filename of the spell's icon
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' The identification number of the spell
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SpellID As Integer

        ''' <summary>
        ''' The name of the spell
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' A constructor to create new spell information
        ''' </summary>
        ''' <param name="rReagents"></param>
        ''' <param name="strIcon"></param>
        ''' <param name="intID"></param>
        ''' <param name="strName"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal rReagents As Collection(Of Reagent), ByVal strIcon As String, ByVal intID As Integer, ByVal strName As String)
            Me.rReagents = rReagents
            Icon = strIcon
            SpellID = intID
            Name = strName
        End Sub
    End Class

End Namespace
